package edu.ynu.se.xiecheng.achitectureclass.dao;

import edu.ynu.se.xiecheng.achitectureclass.common.dao.LogicDAO;
import edu.ynu.se.xiecheng.achitectureclass.entity.Business;
import edu.ynu.se.xiecheng.achitectureclass.entity.Shop;

import java.util.List;
import java.util.Set;

public interface ShopDao extends LogicDAO<Shop,Long> {
    public Shop findByShopName(String shopName);
    List<Shop> findAllByBusiness(Business business);
}